package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "添加商户请求体")
public class MerchantAddRequest {
    @Schema(description="商户名称",example="商户名称")
    @NotEmpty
    private String name;

    @Schema(description="地址",example="地址")
    private String address;

    @Schema(description="国家",example="中国")
    private String country;

    @Schema(description="省",example="上海")
    private String province;

    @Schema(description="市",example="上海")
    private String city;

    @Schema(description="收款聚合码",example="收款聚合码.png")
    private String cashierUnionCode;

    @Schema(description="创建者",example="admin")
    private String creator;

    @Schema(description="操作者",example="admin")
    private String operator;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCashierUnionCode() {
        return cashierUnionCode;
    }

    public void setCashierUnionCode(String cashierUnionCode) {
        this.cashierUnionCode = cashierUnionCode;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
}
